﻿@model QAS.Nekorama.Question

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Question</legend>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Bounty.BountyID)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Bounty.BountyID)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Tag.TagName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tag.TagName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Tag1.TagName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tag1.TagName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Tag2.TagName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tag2.TagName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Tag3.TagName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tag3.TagName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Tag4.TagName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tag4.TagName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Title)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.Content)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Content)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.VoteCount)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.VoteCount)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.IsAnswered)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsAnswered)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.IsSpam)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsSpam)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.SpamCount)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SpamCount)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.EditReason)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EditReason)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.VoteUpUserList)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.VoteUpUserList)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.VoteDownUserList)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.VoteDownUserList)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.SpamMarkUserList)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SpamMarkUserList)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.ViewCount)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ViewCount)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.CreatedDate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CreatedDate)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.User.DisplayName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.User.DisplayName)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.LastModifiedDate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastModifiedDate)
    </div>

    <div class="display-label">
        @Html.DisplayNameFor(model => model.User1.DisplayName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.User1.DisplayName)
    </div>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}